<!DOCTYPE html>
<html>
<head>
<script src="../jquery.js"></script>
</script>
<script>
$(document).ready(function(){
  $("button").click(function(){
    $("[href]").hide();
  });
});
</script>
</head>
<body>

<h2>This is a heading</h2>
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
<p><a href="http://cnn.com/">CNN</a></p>
<p><a href="http://bbc.com">BBC</a></p>
<button>Click me</button>

</body>
</html>

